home *** CD-ROM | disk | FTP | other *** search
- //
- //
- //
- subtitleTextBox. setText ("")
- mainTextBox. setText ("")
- //
- // Record New Stuff Here
- //
- dllPath=macro.pathFromMacro(".\voronoi.dll");
- activeBreadboard. maximize ( )
- activeBreadboard. stampOnAndMove ( "DLLPostprocessor" , "outputChart" )
- activeBreadboard. stampOnAndMove ( "ImageViewer" , "dLLPostprocessor" )
- imageViewer. setActiveAccessPoint ( "Stacked Access" )
- activeBreadboard. select ( "imageViewer" , FALSE )
- imageViewer. setMinNormValue ( 0.000000 )
- imageViewer. setActiveAccessPoint ( "Postprocessor Output" )
- imageViewer. setName ( "voronoiViewer" )
- voronoiViewer. setAccessDataSet ( "Cross Validation" )
- voronoiViewer. setFixWindowTitle ( TRUE )
- voronoiViewer. setWindowTitle ( "Voronoi Diagram" )
- activeBreadboard. select ( "dLLPostprocessor" , FALSE )
- dLLPostprocessor. setAccessDataSet ( "Cross Validation" )
- dLLPostprocessor. setDLLName ( "voronoi" , dllPath)
- dLLPostprocessor. activateDLL ( TRUE )
- dLLPostprocessor. setDLLParameter ( 2 , 1 , "25" )
- activeBreadboard. select ( "control" , FALSE )
- activeBreadboard. stampOnAndMove ( "DLLInput" , "inputFile" )
- dLLInput. setAccessDataSet ( "Cross Validation" )
- dLLInput. setDLLName ( "voronoi" ,dllPath )
- dLLInput. activateDLL ( TRUE )
- activeBreadboard. maximize ( )
- activeBreadboard. select ( "dLLInput" , FALSE )
- dLLInput. setDLLParameter ( 2 , 1 , "-.6" )
- dLLInput. setDLLParameter ( 3 , 1 , "-.6" )
- dLLInput. setDLLParameter ( 2 , 2 , ".6" )
- dLLInput. setDLLParameter ( 3 , 2 , ".6" )
- distanceChart. closeEngineWindow ( )
- outputChart. closeEngineWindow ( )
- activeBreadboard. select ( "voronoiViewer" , FALSE )
- voronoiViewer. openEngineWindow ( )
- voronoiViewer. tileWindow(2,3,3,3)
- control. setXValDataSet ( "Cross Validation" )
-
- //
- // fill in text
- //
- TextBoxPath = macro. pathFromMacro("textbox.txt")
- NextMacroPath = macro. pathFromMacro ( "2 add even more.nsm" )
- nextButton. setMacroPath ( NextMacroPath )
- CancelMacroPath= macro.pathFromMacro("..\minimize.nsm")
- cancelButton. setMacroPath ( CancelMacroPath)
- SubtitleIndex = subtitleTextBox. setTextFromFile (TextBoxPath, 0)
- MainIndex = mainTextBox. setTextFromFile (TextBoxPath, 0)
-
-